// import axios from "axios";
const axios = require('axios');

/**
 * @author zhoulin
 * @date 2021/09/16 10:34
 * @description:请求今日天气预报
 **/
export const reqFeeDay = () => (
    axios.get('https://www.tianqiapi.com/free/day?appid=93846337&appsecret=hzldYf18&unescape=1')
)
/**
 * @author zhoulin
 * @date 2021/09/16 10:50
 * @description:请求免费的机器人回答
 **/
export const reqItpkApi = (question) => (
    axios.get(`http://i.itpk.cn/api.php?question=${question}&api_key=f63bd0d56230247e90d6741203ead2e6&api_secret=fo6ib70dbt52`)
)
